package com.quanyan.user.mapper;

import com.lefu.commons.utils.Page;
import com.quanyan.user.model.vo.response.RespDynamicDetail;
import com.quanyan.user.model.vo.response.RespNewsPraise;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2016/11/16.
 */
public interface NewsPraiseMapper {


    List<RespNewsPraise> findAllUserPraise(@Param("page") Page page,  @Param("newsId") Integer newsId);

    List<RespNewsPraise> findPraiseByNewsId(@Param("list") List<RespDynamicDetail> list);
}
